package com.test.domain;

import java.util.List;

/***
 *
 * @Auther: MuYun
 * @Date: 2023/10/31 15:51
 * @Description：测试百度地图POI请求返回结果
 *
 */
public class PoiResult {
    /**
     * 状态码
     */
    private int status;

    /**
     * 返回的poi总数
     */
    private int total;

    /**
     * 执行消息
     */
    private String message;

    /**
     * 结果类型
     */
    private String result_type;

    /**
     * 返回结果
     */
    private List<PoiResultInfo> results;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResult_type() {
        return result_type;
    }

    public void setResult_type(String result_type) {
        this.result_type = result_type;
    }

    public List<PoiResultInfo> getResults() {
        return results;
    }

    public void setResults(List<PoiResultInfo> results) {
        this.results = results;
    }

    @Override
    public String toString() {
        return "PoiResult{" +
                "status:" + status +
                ", total:" + total +
                ", message:'" + message + '\'' +
                ", result_type:'" + result_type + '\'' +
                ", results:" + results +
                '}';
    }
}
